﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InventoryManagement
{
    public class GetStockResponse
    {
        [JsonProperty("data")]
        public StockEntity[] Stocks { get; set; }
    }

    public class StockEntity
    {
        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("Code")]
        public string Code { get; set; }

        [JsonProperty("Quantity")]
        public string Quantity { get; set; }

        [JsonProperty("Formula")]
        public string Formula { get; set; }
    }
}
